Start-Process powershell -ArgumentList "cd backend\src; python app.py"
Write-Host "后端服务启动中..."

# 等待后端启动
Start-Sleep -Seconds 5

# 启动前端服务
Start-Process powershell -ArgumentList "cd frontend; npm run dev"
Write-Host "前端服务启动中..."

# 等待前端启动
Start-Sleep -Seconds 5

Write-Host "所有服务已启动，您可以开始测试了。"
Write-Host "后端API地址: http://127.0.0.1:5000"
Write-Host "前端应用地址: http://localhost:5173"